package com.sy.core.base.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 业务对象基类
 */
public class SimpleModel implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 假删除标识
     */
    @TableField(exist = false)
    private int isDelTag = 0;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getIsDelTag() {
        return isDelTag;
    }

    public void setIsDelTag(int isDelTag) {
        this.isDelTag = isDelTag;
    }

}
